home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cracking 2
/
Cracking II..iso
/
Kompresni & kodovaci programy
/
ucl-0.91
/
B
/
dos32
/
wc105.bat
< prev
next >
Wrap
DOS Batch File
|
2000-02-24
|
784b
|
35 lines
rem /* DOS 32 bit - Watcom C 10.5
rem * a very simple make driver
rem * Copyright (C) 1996-2000 Markus F.X.J. Oberhumer
rem */
@if "%UCL_ECHO%"=="n" echo off
REM set WCGMEMORY=4096
REM set WCGMEMORY=?
set _CC=wcl386 -zq -mf -5r -bt#dos
set CFLAGS=-Iinclude -wx -oneatx
set MYLIB=ucl.lib
echo Compiling, please be patient...
set CC=%_CC%
REM set CC=%CC% -cc++
%CC% %CFLAGS% -zc -c src\*.c
@if errorlevel 1 goto error
if exist %MYLIB% del %MYLIB%
wlib -q -b -n -t %MYLIB% @b\dos32\wc105.rsp
@if errorlevel 1 goto error
set CC=%_CC% -zc -l#dos4g
%CC% %CFLAGS% examples\simple.c %MYLIB%
@if errorlevel 1 goto error
%CC% %CFLAGS% examples\uclpack.c %MYLIB%
@if errorlevel 1 goto error
echo Done.
goto end
:error
echo error!
:end
@call b\unset.bat